import sys

def make_file(file_name):
	with open(file_name, 'w', encoding='utf-8') as f:
		f.write('')

def main():
	argc = len(sys.argv)
	if argc < 2:
		print(f"[Error] 参数错误\n用法：touch 文件名1 [文件名2 ...]", file=sys.stderr)
		exit(0)
	for i in range(1, argc):
		file_name = sys.argv[i]
		make_file(file_name)

if __name__ == '__main__':
	main()